package site.wanjiahao.message.response;

import lombok.Data;
import lombok.NoArgsConstructor;
import site.wanjiahao.message.AbstractResponseMessage;

import java.util.Set;

@Data
@NoArgsConstructor
public class ListGroupMembersResponseMessage extends AbstractResponseMessage {

    private String gName;

    private Set<String> members;

    public ListGroupMembersResponseMessage(String gName, Set<String> members) {
        this.gName = gName;
        this.members = members;
    }

    @Override
    public int getMessageType() {
        return GROUP_LIST_USERS_RESPONSE_ID;
    }
}
